5.17
题目
Show that the Post Correspondence Problem is decidable over the unary alphabet
思路
点击展开
只需要上下
解答
点击展开
如果存在
将
那么取
这就满足了条件,需要特判的是只有正数或只有负数的情况
因此,图灵机工作方式如下:
中存在 就接受 中有正有负就接受 - 否则拒绝
Show that the Post Correspondence Problem is decidable over the unary alphabet
只需要上下
如果存在
将
那么取
这就满足了条件,需要特判的是只有正数或只有负数的情况
因此,图灵机工作方式如下: